public class Car {
    CarFadonji fadonji=new CarFadonji();
    String lontai;
    String chejia;
    String dipan;
    String jiage;
    String waiguan;
    public void qido(){
        System.out.println("启动");
        fadonji.fadon();
        System.out.println();
        System.out.println("启动成功");
    }
    public  void tingzhi(){
        System.out.println("停止");
    }
    public void mingdi(){
        System.out.println("鸣笛");
    }
    public void xinxi(){
        System.out.println("汽车的发动机：");
        fadonji.show();
        System.out.println("汽车的轮胎："+lontai);
        System.out.println("汽车的车架："+chejia);
        System.out.println("汽车的底盘："+dipan);
        System.out.println("汽车的外观："+waiguan);
        System.out.println("汽车的价格："+jiage);


    }
}
